/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

import org.fusesource.jansi.Ansi;
import org.fusesource.jansi.AnsiConsole;

/**
 * <p>Project: jse2303 - Output4
 * <p>Powered by webrx On 2023-07-11 10:47:13
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Output4 {
    public static void main(String[] args) {
        AnsiConsole.systemInstall();
        Ansi an = Ansi.ansi().fg(Ansi.Color.RED).a("Hello").fg(Ansi.Color.GREEN).a(" World").reset();
        System.out.println(an.toString());

        System.out.println(Ansi.ansi().a("\033[33mhello\033[0m"));
    }
}
